app.controller('daizhipaidubanCtrl',['$scope','$http','mainService','$location',function ($scope,$http,mainService,$location) {

    var token = localStorage.getItem('token');
    mui.showLoading('正在加载','div');
    $http({
        method: "POST",
        url: mainUrl+'/srp/srp-tro-detail!find.action',
        params: {
            'Authorization': token,
            'qm.remindCode':'105',
            'page':1,
            'start':0,
            'limit':999999

        }
    }).then(
        function(data, status, headers, config){
            console.log(data);
            $scope.items = data.data.items;
            mui.hideLoading();

        },function(data, status, headers, config){

        }
    );
    $scope.sending = function ($event){
        mainService.setXq(105,$event);
        $location.path('/daizhipaidubanxiangqing');
    };

}]);